package com.gomtel.smartdevice.moudle.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * Created by Administrator on 2018/5/26 0026.
 */
@Entity
public class BdDataInfo {

    //主键自增长
    @Id(autoincrement = true)
    private Long id;
    //用户名
    private String username;
    //最近时间
    private String recentlyTime;
    //收缩压
    private String pvhMmHg;
    //舒张压
    private String ldoMmHg;

    public BdDataInfo(String username, String recentlyTime, String pvhMmHg, String ldoMmHg) {
        this.username = username;
        this.recentlyTime = recentlyTime;
        this.pvhMmHg = pvhMmHg;
        this.ldoMmHg = ldoMmHg;
    }

    @Generated(hash = 194628867)
    public BdDataInfo(Long id, String username, String recentlyTime, String pvhMmHg,
                      String ldoMmHg) {
        this.id = id;
        this.username = username;
        this.recentlyTime = recentlyTime;
        this.pvhMmHg = pvhMmHg;
        this.ldoMmHg = ldoMmHg;
    }

    @Generated(hash = 506009171)
    public BdDataInfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRecentlyTime() {
        return this.recentlyTime;
    }

    public void setRecentlyTime(String recentlyTime) {
        this.recentlyTime = recentlyTime;
    }

    public String getPvhMmHg() {
        return this.pvhMmHg;
    }

    public void setPvhMmHg(String pvhMmHg) {
        this.pvhMmHg = pvhMmHg;
    }

    public String getLdoMmHg() {
        return this.ldoMmHg;
    }

    public void setLdoMmHg(String ldoMmHg) {
        this.ldoMmHg = ldoMmHg;
    }


}
